package com.qf.dao;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface UserDao {
    User selectById(int id);

    User selectByUsernameAndPassword(@Param("name") String name,@Param("password") String password);

    User addUser(User user);

    void updateUser(Map map);
}
